﻿<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/ZakaBackOfficeMaster.Master"
    CodeBehind="ZakaBOVotacao.aspx.vb" Inherits="ZakaBackOffice.WebForm5" Title="BackOffice" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table width="100%">
                <tr>
                    <td align="center">
                        Votação Troféus<hr />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:GridView ID="gvVotacaoTrofeus" runat="server" BackColor="White" BorderColor="#999999"
                            BorderStyle="Solid" BorderWidth="1px" CellPadding="3" Font-Size="7.5pt" ForeColor="Black"
                            GridLines="None" Width="100%" AutoGenerateColumns="False" AllowPaging="True">
                            <PagerSettings Mode="NumericFirstLast" />
                            <Columns>
                                <asp:BoundField DataField="NomeUtilizador" HeaderText="Nome" />
                                <asp:BoundField DataField="NomeTrofeu" HeaderText="Trofeu" />
                                <asp:BoundField DataField="NumVotos" HeaderText="Votos" />
                                <asp:BoundField DataField="Vencedor" HeaderText="Vencedor" />
                                <asp:BoundField DataField="Data" HeaderText="Data" />
                                <asp:BoundField DataField="Votou" HeaderText="Votou?" />
                            </Columns>
                            <FooterStyle BackColor="#CCCCCC" />
                            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                            <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                            <AlternatingRowStyle BackColor="#CCCCCC" />
                        </asp:GridView>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        Votação MVP<hr />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:GridView ID="gvVotacaoMVP" runat="server" AutoGenerateColumns="False" BackColor="White"
                            BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" Font-Size="7.5pt"
                            ForeColor="Black" GridLines="None" Width="100%" AllowPaging="True">
                            <PagerSettings Mode="NumericFirstLast" />
                            <Columns>
                                <asp:BoundField DataField="NomeUtilizador" HeaderText="Nome" ReadOnly="True" SortExpression="IDTrofeu" />
                                <asp:BoundField DataField="IDJogo" HeaderText="Jogo" />
                                <asp:BoundField DataField="NumVotos" HeaderText="Votos" ReadOnly="True" SortExpression="NomeTrofeu" />
                                <asp:BoundField DataField="Votou" HeaderText="Votou?" ReadOnly="True" SortExpression="Vencedor" />
                            </Columns>
                            <FooterStyle BackColor="#CCCCCC" />
                            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                            <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                            <AlternatingRowStyle BackColor="#CCCCCC" />
                        </asp:GridView>
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
